package com.basin.common.mybatisflex.base;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.Data;

import java.sql.Timestamp;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 * @date: 2025/4/6 21:00
 * @description:
 */
@Data
public class BaseEntity {
    @Id(keyType = KeyType.Auto)
    private Long id;
    private Timestamp createTime;
    private Timestamp updateTime;
    private String createUser;
    private String updateUser;
    @Column(tenantId = true)
    private String tenantId;
}
